package pack2;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class Main2FinalData2 {
	
	public static void main (String[] args)throws Exception{
		String file = "C:\\Users\\Alket\\codeindigo\\DataTel\\FinalResults 10min";
		BufferedReader br = new BufferedReader(new FileReader(new File(file)));
		int somma = 0; 
		String line;
		while((line = br.readLine())!= null){
			
			String [] r = line.split(" ");
			String h = r[0];
			
			for (int i = 1; i < r.length; i++) {
				String [] r_i = r[i].split(":"); 
				int k = Integer.parseInt(r_i[0]);
				int v = Integer.parseInt(r_i[1]);
				somma = somma+v;
			}
			
			
			
		}br.close();
		
		
	}

	
	public static void load (){
		
	}
}
